package ooday04;

public class StaticFinalDemo {
    public static void main(String[] args) {
        System.out.println(Loo.PI);
//        Loo.PI = 3.2;

        System.out.println(Loo.num);
        System.out.println(Loo.COUNT);//效率高
    }
}

class Loo {//非静态内部类不能有静态成员（除非是 static final 常量）
    public static final double PI = 3.14159;
//    public static final double NUM;

    public static int num = 5;
    public static final int COUNT = 5;
}